package cc.jq1024.infrastructure.persistent.dao;

import cc.jq1024.infrastructure.persistent.po.RuleTreeNodePO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lijiaqiang@ljq1024.cc
 * @since 2024-04-17
 */
@Mapper
public interface IRuleTreeNodeDao extends BaseMapper<RuleTreeNodePO> {

    /** 通过规则书ID查询树的所有节点 */
    List<RuleTreeNodePO> queryRuleTreeNodeListByTreeId(String treeId);


    List<RuleTreeNodePO> queryRuleLocks(String[] treeIds);
}
